package com.ruoyi.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 文件配置
 *
 * @author ZhangYi
 * @date 2020/8/28 13:11
 */
@Component
@ConfigurationProperties(prefix = "file-config")
public class FileConfig {

    private static String defaultWay;

    public static String getDefaultWay() {
        return defaultWay;
    }

    public void setDefaultWay(String defaultWay) {
        FileConfig.defaultWay = defaultWay;
    }
}
